<div class="openBox">
	<h3>
		<i class="jtIco1"></i>代偿付款查询
	</h3>
	<div class="detaiTab">
		<table border="0" cellpadding="0" cellspacing="0" width="100%">
			<tr>
				<td class="bg" align="right" width="10%">单据号:</td>
				<td width="30%"><a target="_blank"
					href="<@url value='/detail?billCode=${entity.loanapplyBillcode}' />">${entity.loanapplyBillcode}</a>
				</td>
				<td class="bg" align="right" width="10%">付款类型:</td>
				<td width="25%"><@select dataSouceType="OTO_PAY_TYPE"
					class="tabInp" name="payType" value="${entity.payType}"
					renderonly="true"/></td>
				<td class="bg" align="right" width="10%">代偿类型:</td>
				<td width="15%"><@select dataSouceType="BAD_LOAN_TYPE_DDC"
					name="loanType" value="${entity.loanType}" renderonly="true" /></td>
			</tr>
			<tr>
				<td class="bg" align="right">借款人:</td>
				<td>${entity.borrowerName}</td>
				<td class="bg" align="right">借款人证件类型:</td>
				<td colspan="3"><@select dataSouceType="OTOIDCARDTYPE"
					class="tabInp" value="${entity.borroweridType}" renderonly="true"/>
				</td>
			</tr>
			<tr>
				<td class="bg" align="right">借款人证件号:</td>
				<td>*********
	                <@permission permissionName="payInfo_sensitive">
	                	<a class="action-ajax-btn fr edit btn_blue" href="/rpay/show_window?id=${entity.id}">查看</a>
	                </@permission>
				</td>
<!--			
				<td class="bg" align="right">借款金额(元):</td>
				<td colspan="3">${entity.loanAmount}</td>
-->
				<td class="bg" align="right">放款金额(元):</td>
				<td colspan="3">${loanEntity.bankAmount}</td>
			</tr>
			<tr>
				<td class="bg" align="right">借款期限(月):</td>
				<td>${entity.loanTerm}</td>
				<td class="bg" align="right">经营单位:</td>
				<td colspan="3">${entity.platform}</td>
			</tr>
			<tr>
				<td class="bg" align="right">收款人:</td>
				<td>${entity.payeeName}</td>
				<td class="bg" align="right">收款账号:</td>
				<td colspan="3">*********
	                <@permission permissionName="payInfo_sensitive">
	                	<a class="action-ajax-btn fr edit btn_blue" href="/rpay/show_window?id=${entity.id}">查看</a>
	                </@permission>
				</td>
			</tr>
			<tr>
				<td class="bg" align="right">付款金额(元):</td>
				<td>${entity.payAmount}</td>
				<td class="bg" align="right">收款开户行:</td>
				<td colspan="3">${entity.collectionBankName}</td>
			</tr>
			<tr>
				<td class="bg" align="right">汇入行地址:</td>
				<td>${entity.collectionBankAddress}</td>
				<td class="bg" align="right">备注:</td>
				<td colspan="3">${entity.remark}</td>
			</tr>
			<tr>
				<td class="bg" align="right">付款时间:</td>
				<td><#if entity.payDate??>
					<#assign payDate=entity.payDate?string('yyyy-MM-dd') />
				</#if>
				${payDate}</td>
				<td class="bg" align="right">付款账号:</td>
				<td colspan="3">*********
	                <@permission permissionName="payInfo_sensitive">
	                	<a class="action-ajax-btn fr edit btn_blue" href="/rpay/show_window?id=${entity.id}">查看</a>
	                </@permission></td>
			</tr>
			<tr>
				<td class="bg" align="right">付款备注:</td>
				<td colspan="5">${entity.payRemark}</td>
			</tr>
		</table>
	</div>
</div>